package com.yangtao.service;

import java.util.List;

import com.yangtao.dto.User;

public interface IUserService {

	public User getUserById(int userId);

	public User findUserById(int id);
	
	public void insertUser(User user);

	public void addUser(User user);

    public boolean updateUser(User user);

    public boolean deleteUser(int id);
    
    public User login(String name ,String password);
	
	public List<User> getAllUser();
}